<?php

    include_once "../config/classes/class.Config.php";
    $cfg = new config();
    if (!class_exists("phpGrid")) include_once $cfg->pathConfig."/phpGrid/conf.php";   
   
    
    /* Grid Elementos */
    $electro_grid = new C_DataGrid("SELECT * FROM info_elem","id","Elementos");

    $electro_grid -> enable_resize(true);
    $electro_grid -> set_dimension(1000, 200);
    $electro_grid -> set_theme("south-street");
    $electro_grid -> enable_search(true);
//    $electro_grid -> enable_edit("FORM","CRUD");

    //$electro_grid->enable_debug(true);
    $electro_grid->display();

?>
